package com.victualler.core.config.menu.dto;

import com.victualler.core.config.menu.entity.MenuDao;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @Aouthor Guoshichang
 * @Date 18:19 on 2018/7/5.
 * @Function 菜单节点对象
 */
public class MenuDto extends MenuDao implements Serializable {
    //权限对应配置的url
    private String  href;
    //子节点
    private List<MenuDto> childList;

    public MenuDto() {
        this.childList = new ArrayList<>();
    }

    public List<MenuDto> getChildList() {
        return childList;
    }

    public void setChildList(List<MenuDto> childList) {
        this.childList = childList;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }
}
